<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>逻辑运算符</title>
</head>

<body>
  <script>
    // console.log(!1+1)
    console.log(false && false);
    console.log(false && true);
    console.log(true && false);
    console.log(true && true);
    console.log(3>5 && 2<4);
    // 逻辑或||
    console.log(true || true);
    console.log(false || true);
      console.log(true || false);
      console.log(false || false);





  </script>
</body>

</html>